<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of IndexModelClass
 *
 * @author Administrator
 */
class IndexModel extends Action {
    //put your code here
    protected $_validate     =     array(
        array('title','require','标题必须！',1),
        array('email','email','邮箱格式错误！',2),
        array('content','require','内容必须',1),
        array('title','','标题已经存在',0,'unique','add'),
        ); 
}
?>
